<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%String path = request.getContextPath();%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<jsp:include page="../inc/header.jsp"></jsp:include>

<!-- Page Heading Section Start -->
<div class="page-heading-section section bg-parallax" data-bg-image="<%=path%>/assets/images/bg/bg-1.jpg" data-overlay="50">
    <div class="container">
        <div class="page-heading-content text-center">
            <h3 class="title">注册一个新公司</h3>
            <ol class="breadcrumb">
                <li class="breadcrumb-item"><a href="<%=path%>/web/index">主页</a></li>
                <li class="breadcrumb-item active">注册新公司</li>
            </ol>
        </div>
    </div>
</div>
<!-- Page Heading Section End -->

<!-- Create Job Start -->
<div class="section section-padding">
    <div class="container">
        <div class="row">
            <div class="create-job-form col-lg-10 mx-auto">
                <form action="<%=path%>/web/company/manage/companySign" id="myForm" method="post" enctype="multipart/form-data">
                    <div class="row mb-n3">
                        <div class="col-md-6 col-12 mb-3">
                            <label for="companyName">公司名称</label>
                            <input type="text" name="companyName" id="companyName" placeholder="万码学堂">
                        </div>
                        <div class="col-md-6 col-12 mb-3">
                            <label for="scope">公司规模（人）</label>
                            <input type="text" name="scope" id="scope" placeholder="100">
                        </div>
                        <div class="col-md-6 col-12 mb-3">
                            <label for="website">公司官网</label>
                            <input type="text" name="website" id="website" placeholder="万码学堂">
                        </div>
                        <div class="col-md-6 col-12 mb-3">
                            <label for="licensePic">营业执照</label>
                            <input type="file" name="file1" id="licensePic">
                        </div>
                        <div class="col-md-6 col-12 mb-3">
                            <label for="suggestId">公司地址</label>
                            <input type="text" name="address" id="suggestId">
                            <div id="searchResultPanel" style="border:1px solid #C0C0C0;width:150px;height:auto; display:none;"></div>
                            <div id="l-map" style="width: 500px"></div>
                        </div>
                        <div class="col-md-6 col-12 mb-3">
                            <label for="logo">公司logo</label>
                            <input type="file" name="file2" id="logo">
                        </div>
                        <div class="col-12 mb-3">
                            <label for="intro">公司简介</label>
                            <textarea id="intro" name="intro" rows="5"></textarea>
                        </div>
                        <div class="col-12 mb-3">
                            <span id="info" style="color: red"></span>
                        </div>
                        <div class="col-12 mb-3">
                            <input type="button" id="myBtn" class="btn btn-primary px-5" value="申请注册">
<%--                            <button type="button" id="myBtn" class="btn btn-primary px-5">申请注册</button>--%>
                        </div>
                    </div>
                    <div class="row"></div>
                </form>
            </div>
        </div>
    </div>
</div>
<!-- Create Job End -->
<%--BaiduMap--%>
<script type="text/javascript" src="<%=path%>/assets/js/vendor/baiduMap.js"></script>

<script type="text/javascript" src="<%=path%>/assets/js/vendor/company-signCheck.js.jsp"></script>

<jsp:include page="../inc/footer.jsp"></jsp:include>

